Besides the standard interface, UpdateShield
Integrator is also available in the console mode, or called a command line
program that does not use the Windows graphical user interface. An advantage of
the console mode is that the automatic software update (as well as code
protection) system provided by UpdateShield
Integrator can be included as one of the stages in the build process, i.e.
after an executable file is produced by the compiler, and before it is packaged
into the installer. Therefore, you can automatically and instantly create the
protected version of your application on any build.
To run UpdateShield Integrator in the console
mode, you must first create a template file to be passed as an input parameter.
The template file can be created by running UpdateShield
Integrator in the standard GUI mode. You can simply follow the Integrator
wizard dialogs to specify the settings and options, and then choose to save all
the settings as a template file.
The following is the UpdateShield Integrator
Console command usage.
Usage: USINTCON <Template File> <Options> |
Where |
Template File: The template file created by UpdateShield Integrator (GUI) |
Options: |
“/original <Executable File>” = File name of the original executable to be protected |
“/target <Executable File>” = File name of the protected version of the original |
Examples |
To run USINTCON: |
USINTCON “MyTemplate.stp” |
To run USINTCON with the options: |
USINTCON “MyTemplate.stp” “/original MyApp.exe” “/target
MyApp2.exe” |
1. Run UpdateShield
Integrator. The wizard dialog box appears.
2. Follow the dialog boxes and
specify the protection settings and options as you want, until the Summary
page.
3. In the Summary page,
click the Save Template button. Then, enter a file name for the
template.